import 'package:flutter/services.dart';

class RoomParams {
  final String uuid;
  final String roomToken;

  RoomParams(this.uuid, this.roomToken);

  Map<String, String> toJson() {
    return {
      "uuid": uuid,
      "roomToken": roomToken,
    };
  }
}



class WhiteBoardSdkRoom {
  final MethodChannel methodChannel;
  final int memberId;

  WhiteBoardSdkRoom(this.methodChannel, this.memberId);
}


abstract class AbstractRoomCallbacks {
  void onPhaseChanged(RoomPhase phase);
  void onRoomStateChanged(RoomState modifyState);
}

class RoomPhase {
  RoomPhase.fromJson(Map<String, dynamic> json);
}

class RoomState{
  RoomState.fromJson(Map<String, dynamic> json);
}
